package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SkuInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface SkuInfoMapper extends BaseMapper<SkuInfo> {

    void updateSkuSaleStatus(@Param("skuId") Long skuId,
                             @Param("status") int status);



    BigDecimal getSkuPrice(@Param("skuId") Long skuId);
}
